//
//  HelloWorldLayer.h
//  ShootTheBird
//
//  Created by iD Student on 7/2/12.
//  Copyright __MyCompanyName__ 2012. All rights reserved.
//


// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

// HelloWorldLayer
@interface HelloWorldLayer : CCLayerColor
{
    CCSprite *shooter;
    CCSprite *shoot;
    CCSprite *angryBird;
    CCSprite * bird;
    CGSize size;
    NSMutableArray *angryBirds;
    NSMutableArray *birds;
    NSMutableArray *arrows;
    float angle;
    NSMutableArray *birdsObj;
    NSMutableArray *angryBirdsObj;
    NSMutableArray *deleteBird;
    NSMutableArray *deleteAngryBird;
    NSMutableArray *deleteArrow;
    CCLabelTTF *point;
    float xValue;
    float yValue;
    CCLabelTTF *count;
}

// returns a CCScene that contains the HelloWorldLayer as the only child
+(CCScene *) scene;
-(void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
-(void)birdsFly;
-(void)angryBirdsFly;
-(void)shoot;
-(CGRect)rectForSprite:(CCSprite *)sprite;
-(void)deleteSprite;
@end
